/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ifpb.pp.rh.entity;

import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;

/**
 *
 * @author Gabriella
 */
@Entity
public class Formacao implements Serializable{

    private Integer id;
    private String grauFormacao;
    private String areaFormacao;

    public Formacao() {
    }

    public Formacao(String formacao, String areaFormacao) {
        this.grauFormacao = formacao;
        this.areaFormacao = areaFormacao;
    }
   
       @Id
       @GeneratedValue
       public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getGrauFormacao() {
        return grauFormacao;
    }

    public void setGrauFormacao(String formacao) {
        this.grauFormacao = formacao;
    }

    public String getAreaFormacao() {
        return areaFormacao;
    }

    public void setAreaFormacao(String areaFormacao) {
        this.areaFormacao = areaFormacao;
    }






}
